package com.qfedu.micrograss;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication
@MapperScan("com.qfedu.micrograss.**.mapper")
@ComponentScan("com.qfedu")
//指定扫描的父包
@EnableFeignClients(basePackages = "com.qfedu.api")
public class MicroGrassApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroGrassApplication.class, args);
    }

}
